package com.xinqi.modules.file.course.courseware.service.impl;

import com.xinqi.common.mybatis.data.service.impl.BaseServiceImpl;
import com.xinqi.modules.file.course.courseware.domain.CourseInteractionStudentLogEntity;
import com.xinqi.modules.file.course.courseware.mapper.CourseInteractionStudentLogMapper;
import com.xinqi.modules.file.course.courseware.service.CourseInteractionStudentLogService;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

@Service
@RequiredArgsConstructor
public class CourseInteractionStudentLogServiceImpl extends BaseServiceImpl<CourseInteractionStudentLogMapper, CourseInteractionStudentLogEntity> implements CourseInteractionStudentLogService {

    private final CourseInteractionStudentLogMapper studentLogMapper;

    @Override
    public void deleteStudentLogByContentId(Long contentId) {
        studentLogMapper.deleteByContentId(contentId);
    }

}
